var str = 'name=kerwin&location=dalian'
var querystring = require('querystring')
var obj = querystring.parse(str)
console.log(obj)
//{
//   name: 'kerwin',
//   location: 'dalian'
// }
var myobj ={
  name:'kerwin',
  location:'dalian'
}
console.log(querystring.stringify(myobj))
//name=kerwin&location=dalian
